-
Notifications
You must be signed in to change notification settings - Fork 611
Ignore --diagnostic-width argument when computing hash
#2424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… to improve caching sccache includes all environment variables starting with `CARGO_` in the cache key, so this would cause misses for all trybuild compilation. Along with mozilla/sccache#2424, this improves compilation caching.
… to improve caching (#1943) sccache includes all environment variables starting with `CARGO_` in the cache key, so this would cause misses for all trybuild compilation. Along with mozilla/sccache#2424, this improves compilation caching.
… to improve caching (#1943) sccache includes all environment variables starting with `CARGO_` in the cache key, so this would cause misses for all trybuild compilation. Along with mozilla/sccache#2424, this improves compilation caching.
be74fe5 to
ef0ee4a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2424 +/- ##
=======================================
Coverage 71.57% 71.58%
=======================================
Files 65 65
Lines 36365 36372 +7
=======================================
+ Hits 26029 26036 +7
Misses 10336 10336 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ef0ee4a to
e8521b1
Compare
6f7c3cc to
c03937b
Compare
|
@sylvestre I think you'll need to approve the GitHub Actions workflow; the linting errors after the original merge should be fixed! |
|
done |
|
Looks like the failures are from |
|
Friendly bump @sylvestre! The changes should be good to go. |
52fa2aa to
215d25e
Compare
|
Could you please add tests to verify that we aren't regressing in the future? thanks |
|
Very sorry it took that long to get to this |
215d25e to
7ae50e2
Compare
|
@sylvestre added the test! And please don't apologize, really appreciate all the work you do as a maintainer :) |
|
thanks |
Fixes #2418
We ran into this in https://github.com/hydro-project/hydro, where we programmatically invoke Cargo to compile generated Rust sources, so without a TTY the hash of arguments would differ causing cache misses. This ignores that argument, and I validated on Hydro that it enables cache hits in the non-TTY builds.